<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 

<div style="fonte-size:15;position:absolute; top:10px; right:30px;">
    <span>
        <a href="/javabasico/Controlador" >Inicio</a> 
        <c:if test="${not empty sessionScope.cliente}">
            &nbsp;|&nbsp;Olá<font color="blue"> ${sessionScope.cliente.nome}</font>&nbsp;|&nbsp;
            <a href="Controlador?cmd=Sair">Sair</a>
        </c:if>
        <c:if test="${not empty sessionScope.admin}">
            <br>
            Administrador <a href="/javabasico/admin/administracao.jsp">${sessionScope.admin.nome}</a>&nbsp;|&nbsp;
            <a href="Controlador?cmd=DeslogarAdmin" >Sair</a>
        </c:if>
    </span>
</div>